Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Cursor Types

The type field of a cursor record (described in the section "Cursor Record" ) specifies the kind of cursor you want to replace (or restore) using the QTVRReplaceCursor function (described in the section "QTVRReplaceCursor" ). You can use these constants to specify a cursor type:

enum {
    kQTVRUseDefaultCursor                           = 0,
    kQTVRStdCursorType                              = 1,
    kQTVRColorCursorType                            = 2
};

Constant descriptions

kQTVRUseDefaultCursor
Restore the default cursor. In this case, the handle field of the cursor record should be nil .
kQTVRStdCursorType
The cursor is a standard black-and-white cursor.
kQTVRColorCursorType
The cursor is a color cursor.

© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next